package com.cms.manage.util;

public class Constant {
    //Netty相关
    public static int NETTY_PORT = 8282;
    public static String WEBSOCKET_PATH = "/websocket";

    //JWT相关
    public static int EXPIRE_TIME = 60;
    public static String SECRET_KEY = "authJWT";
    
    //user对象
    public static final String SESSION_USER = "cmsUser";
    
    //前台用户在会话中的userId
    public static  final String SESSION_USER_ID="sessionUserId";
    //前台用户在会话中的userId
    public static  final String COKKIES_USER_ID="cookiesId";
    //前台用户在会话中的nickename
    public static  final String SESSION_NIKE_NAME="sessionNickName";
  //后台图片显示位置
    public static  final String BACK_IMG_LOOK=	System.getProperty("file.separator")+"backimg"+System.getProperty("file.separator");
    //后台上传图片位置/usr/share/nginx/html/backimg
    public static  final String BACK_IMG_PATH=	System.getProperty("file.separator")+"usr"+System.getProperty("file.separator")+"share"
	         +System.getProperty("file.separator")+"nginx"+System.getProperty("file.separator")+"html"
	         +Constant.BACK_IMG_LOOK;
    
}
